@charset "UTF-8";
@import url("../common/common.css");
@import url("../common/scrollbar_dark.css");
@import url("../common/table_dark.css");

.main-container {
    width: 100%;
    height: calc(100% - 66px);
    display: flex;

    .table-container {
        flex: 1;
        height: 100%;
        padding: 20px 40px;
        overflow-x: hidden;

        .tab-nav {
            height: 40px;
            display: flex;
            margin-bottom: 24px;

            li {
                width: auto;
                height: 40px;
                font-size: 16px;
                line-height: 40px;
                letter-spacing: 1px;
                color: #8c9bae;
                padding: 0 4px;
                cursor: pointer;
                margin-right: 24px;

                &:hover {
                    color: #21e2ff;
                }

                &.active {
                    border-bottom: 2px solid #21e2ff;
                    color: #21e2ff;
                }
            }
        }

        .select-wrap {
            .form-group {
                display: inline-block;
            }

            .form-group+.form-group {
                margin-left: 16px;
            }

            .label-text {
                color: #ffffff;
            }
        }

        .table-content {
            display: flex;
            width: 100%;
            overflow-x: hidden;

            .table-tab {
                width: 32px;
                flex-shrink: 0;

                li {
                    width: 32px;
                    height: auto;
                    background-color: rgba($color: #3391ee, $alpha: 0.2);
                    border-top-left-radius: 5px;
                    position: relative;
                    margin-bottom: 32px;
                    cursor: pointer;

                    .tab-text {
                        display: block;
                        padding: 6px 6px 0 6px;
                        line-height: 16px;
                    }

                    .badge {
                        margin-bottom: 2px;
                    }

                    &::after {
                        position: absolute;
                        bottom: -24px;
                        content: '';
                        display: block;
                        width: 0;
                        height: 0;
                        border-top: 24px solid rgba($color: #3391ee, $alpha: 0.2);
                        border-left: 32px solid transparent;
                    }

                    &.active {
                        background-color: rgba($color: #3391ee, $alpha: 0.5);

                        &::after {
                            border-top: 24px solid rgba($color: #3391ee, $alpha: 0.5);
                            border-left: 32px solid transparent;
                        }
                    }
                }
            }
        }

        .table-wrap {
            width: 100%;
            height: calc(100% - 120px);
            overflow-y: auto;
            background-color: rgba($color: #071b35, $alpha: 0.6);
            border: 1px solid #156a97;
            padding: 16px;

            table {
                tbody tr td {
                    border-bottom: 1px solid rgba($color: #274568, $alpha: 0.8);
                    padding: 10px;
                }
            }
        }

        .tab-table-wrap {
            width: calc(100% - 32px);
        }
    }
}

.formDialog {
    &.idlg-outer {
        background-color: #1a2f42;
    }

    .idlg-header {
        background-color: #1a2f42;
        padding: 12px 16px;

        .idlg-title {
            color: #ffffff;
            font-size: 16px;
            font-weight: normal;
        }
    }

    .idlg-main {
        background-color: #12212f;
        overflow-y: auto;
        padding-bottom: 0 !important;
    }

    .idlg-footer {
        background-color: #1a2f42;
        margin-top: 20px !important;
        padding-bottom: 3px;
    }

    .form-horizon {
        border: none;
    }

    .input-wrap {
        display: flex;
        align-items: center;

        .form-group {
            position: relative;
            margin: 0 12px;
        }

        .form-control {
            width: 120px !important;
        }
    }
}

.select2-dropdown {
    z-index: 99999 !important;
}